. /etc/rc.d/init.d/functions

ln -sf /flash/elgato/usr/X11R6 /usr/X11R6
#ln -sf /flash/elgato/usr/local/bin/java /usr/local/bin/java
#ln -sf /flash/elgato/jre /usr/local/bin/java

/flash/elgato/utils/enable_matrix_kb &
/flash/elgato/utils/setdummydate.sh &

(
source /etc/profile

killall -9 X
export DISPLAY=:0
X -ac&



cd /flash/egGui
sleep 30

export PATH=/flash/siege/bin:$PATH
consoleSiege -DLogger.level=2 -DlocalAddress=127.0.0.1 -Dserver=localhost -jar egclient.jar </dev/tty0 >log.out 2>err.out&
)&

